package sample.two.server;

import org.apache.mina.core.service.IoHandlerAdapter;
import org.apache.mina.core.session.IoSession;

public class SytHandler extends IoHandlerAdapter {
	
	
	@Override
	 public void sessionCreated(IoSession session)
    throws Exception {
		 System.out.println("sessionCreated");
	 }
	
	@Override
	 public void messageReceived(IoSession session, Object message)
     throws Exception {
		 System.out.println(message);
	 }
}
